package com.hexinfo.dmpro.script.publish.service;

import java.util.List;
import java.util.Map;

public interface ConfigService {
    /**
     * @Method getParam 
     * @Param clustreName 
     * @Return java.util.Map<java.lang.String,java.lang.String> 
     * @Description 获取param
     * @Author le.zhang
     * @Date 2024/3/4 13:20 
     * @Version V1.0
     */
    public Map<String,String> getParam(String clustreName);
    /**
     * @Method getPublishUser 
     * @Param clusterName
     * @Param username 
     * @Return java.util.Map<java.lang.String,java.lang.String> 
     * @Description 获取publish-user
     * @Author le.zhang
     * @Date 2024/3/4 13:20 
     * @Version V1.0
     */
    public Map<String,String> getPublishUser(String clusterName,String username);

    /**
     * @Method getPublishUser
     * @Param
     * @param serverId
     * @param clusterName
     * @param username
     * @Return java.util.Map<java.lang.String,java.lang.String>
     * @Description 获取用户信息
     * @Author Wang zhihao
     * @Date 2024/3/26 19:03
     * @Version V1.0
     */
    Map<String,String> getPublishUser(String serverId, String clusterName,String username);

    /**
     * @Method getJdbc 
     * @Param jdbcName
     * @Param clustreName 
     * @Return java.util.Map<java.lang.String,java.lang.String> 
     * @Description 获取jdbc配置信息
     * @Author le.zhang
     * @Date 2024/3/4 13:20 
     * @Version V1.0
     */
    public Map<String,String> getJdbc(String jdbcName,String clustreName);
    /**
     * @Method getScp 
     * @Param clustreName 
     * @Return java.util.Map<java.lang.String,java.lang.String> 
     * @Description 获取scp
     * @Author le.zhang
     * @Date 2024/3/4 13:20 
     * @Version V1.0
     */
    public Map<String,String> getScp(String clustreName);
}
